package rpc.proxy;

import java.lang.reflect.Method;

public class MethodTest {

    public static void main(String[] args) {
        Method[] methods = ITestService.class.getMethods();
        Class<?> cls = methods[0].getDeclaringClass();
        System.out.println(cls.isInterface());
        System.out.println(cls.getName());
    }

}
